@mark1russell7/harness 0.15.4 → 0.15.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/build/{cell-BmqDPjz3.d.ts → cell-CHFQ55Ks.d.ts} +43 -6
- package/build/{image-D88I5WA_.js → image-CsPgXjcZ.js} +4 -7
- package/build/image-CsPgXjcZ.js.map +1 -0
- package/build/index.d.ts +66 -53
- package/build/index.js +185 -57
- package/build/index.js.map +1 -1
- package/build/schema.d.ts +2 -5
- package/build/schema.js +2 -3
- package/image/native/src/bin/inject.rs +40 -0
- package/image/native/src/bin/ports.rs +54 -4
- package/package.json +4 -3
- package/build/image-D88I5WA_.js.map +0 -1
package/build/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as Prediction, A as HostSysctl, At as Stage, B as LoadPlan, C as GroupPrediction, Ct as RunRoute, D as HopPlace, Dt as SentinelStage, E as HopEvent, Et as SentinelEvent, F as KafkaPause, Ft as Toxic, G as MiddleboxForm, H as LoadStream, I as KernelRecord, It as WsProbe, J as Pair, K as Observer, L as LineCount, Lt as environmentProblems, M as ImageSource, Mt as Subject, N as Jitter, Nt as Target, O as HopSignal, Ot as Shipped, P as Kafka, Pt as Topology, Q as PortsPrediction, R as LineMatch, Rt as isHopPlace, S as GroupPlace, St as RunPause, T as Hop, Tt as RunTopology, U as MiddleboxEvent, V as LoadPrediction, W as MiddleboxExpectation, X as PausePrediction, Y as PauseBand, Z as PinnedImage, _ as Fabric, _t as RunBackup, a as ClientCapability, at as QueueEnd, b as FaultPlace, bt as RunGroup, c as ClusterClientAt, ct as Recovers, d as CountBand, dt as ReplicaSetStage, et as ProbeEvent, f as DeliveryPrediction, ft as Replies, g as DriverStep, gt as Run, h as DriverBand, ht as RttRange, i as Client, it as QueueConnection, j as HttpProbe, jt as StageBand, k as HopWrite, kt as ShippedImage, l as ClusterStage, lt as Reference, m as DrillRoom, mt as RouterHop, n as CLIENT_CAPABILITIES, nt as ProxyTime, o as ClientImage, ot as QueuePrediction, p as Drill, pt as RequestPrediction, q as Outcomes, r as Cell, rt as QueueBand, s as Cluster, st as Reconnects, t as BuildImage, tt as ProxyHop, u as ConntrackPrediction, ut as ReplicaSet, v as FabricManifest, vt as RunDrill, w as GroupRole, wt as RunStream, x as Group, xt as RunPart, y as Fault, yt as RunFabric, z as LoadBand, zt as latestEndOf } from "./cell-CHFQ55Ks.js";
|
|
2
2
|
import { Quantity } from "@mark1russell7/quantity";
|
|
3
3
|
import { LoadMeasure, Schedule } from "@mark1russell7/rigor-chaos";
|
|
4
4
|
import { StartedTestContainer } from "testcontainers";
|
|
5
|
-
//#region src/application.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* This module reads the acts of the program of the observer: its heartbeat, its drop of the
|
|
8
7
|
* connection, its reconnect and its call in flight. The kernel has no report of a detection by
|
|
@@ -94,6 +93,11 @@ export declare const dropFinding: (expected: "frame" | "close", drop: ProgramEve
|
|
|
94
93
|
export declare const jitterOfLines: (lines: readonly ProbeEvent[], socket: readonly KernelRecord[], local: unknown, until: number) => Jitter;
|
|
95
94
|
/** This function gives each ping of the program on the connection, with the kernel's stamp of its write in the pairing window (`delta`). */
|
|
96
95
|
export declare const pingsOf: (lines: readonly ProbeEvent[], socket: readonly KernelRecord[], local: unknown, delta?: Quantity) => ProgramEvent[];
|
|
96
|
+
/**
|
|
97
|
+
* This function gives each pong of the program on the connection: each `write` line with the type
|
|
98
|
+
* `pong`. Each pong has the kernel's stamp of its write in the pairing window (`delta`).
|
|
99
|
+
*/
|
|
100
|
+
export declare const pongsOf: (lines: readonly ProbeEvent[], socket: readonly KernelRecord[], local: unknown, delta?: Quantity) => ProgramEvent[];
|
|
97
101
|
/**
|
|
98
102
|
* This function gives the first ping that got no answer: no segment with data reached the socket
|
|
99
103
|
* after its write, up to `until`. Its write starts the wait of the heartbeat that the fault met.
|
|
@@ -135,8 +139,45 @@ interface CallReading {
|
|
|
135
139
|
}
|
|
136
140
|
/** This function reads the call that the client sent into the fault: its `call-error` or `data` line after the request. */
|
|
137
141
|
export declare const callOf: (events: readonly ProbeEvent[], request: ProbeEvent, detected: number | undefined) => CallReading;
|
|
138
|
-
|
|
139
|
-
|
|
142
|
+
/**
|
|
143
|
+
* This module reads the stream of a delivery cell (`DeliveryPrediction`): the events that the
|
|
144
|
+
* sender emitted, and the events that the receiver got. The lines of the client are the events of
|
|
145
|
+
* the run, and the lines of the target are its `server` lines.
|
|
146
|
+
*/
|
|
147
|
+
/** A stream is the workload of a delivery cell: its count of events, and the program that sends them. */
|
|
148
|
+
interface DeliveryStream {
|
|
149
|
+
readonly count: number;
|
|
150
|
+
readonly sender: "client" | "target";
|
|
151
|
+
}
|
|
152
|
+
/** A delivery reading is what a run of a stream delivered. */
|
|
153
|
+
interface DeliveryReading {
|
|
154
|
+
/** This count is the distinct events that the sender emitted. */
|
|
155
|
+
readonly emitted: number;
|
|
156
|
+
/** This count is the distinct events that the receiver got. */
|
|
157
|
+
readonly got: number;
|
|
158
|
+
/** This count is the emitted events that the receiver did not get. */
|
|
159
|
+
readonly lost: number;
|
|
160
|
+
/** This count is the extra copies that the receiver got. */
|
|
161
|
+
readonly duplicates: number;
|
|
162
|
+
/** This count is the distinct events that the receiver got and the sender did not emit. */
|
|
163
|
+
readonly unknown: number;
|
|
164
|
+
/** This value is the field `recovered` of the second connection of the client, or null without a second connection. */
|
|
165
|
+
readonly recovered: boolean | null;
|
|
166
|
+
/** This flag tells that the receiver got the last event of the stream. */
|
|
167
|
+
readonly ended: boolean;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* This function gives the stream of a cell with a delivery law. It throws for a cell with no count
|
|
171
|
+
* of events: the law has no last event without it. It also throws for a target without its lines
|
|
172
|
+
* (`Target.lines`): the law reads the lines of the two programs.
|
|
173
|
+
*/
|
|
174
|
+
export declare const streamOf: (cell: Cell) => DeliveryStream;
|
|
175
|
+
/** This function tells that the receiver of a stream got its last event: the end of the wait of a run. */
|
|
176
|
+
export declare const streamEnded: (run: Run, stream: DeliveryStream) => boolean;
|
|
177
|
+
/** This function gives what a run of a stream delivered. */
|
|
178
|
+
export declare const deliveryOf: (run: Run, stream: DeliveryStream) => DeliveryReading;
|
|
179
|
+
/** This function gives the finding of a run of a stream against its law, or null when the run holds it. */
|
|
180
|
+
export declare const deliveryFinding: (prediction: DeliveryPrediction, stream: DeliveryStream, read: DeliveryReading) => string | null;
|
|
140
181
|
/**
|
|
141
182
|
* The measure and the verdict of an open-loop cell (SYS-68). A client on a schedule sends each
|
|
142
183
|
* arrival at its time, thus a stall counts in each arrival that it delayed. The package rigor-chaos
|
|
@@ -269,8 +310,6 @@ interface EstimateVerdict {
|
|
|
269
310
|
}
|
|
270
311
|
/** This function gives the estimate verdict of the counted runs, or undefined when no run has an estimate. */
|
|
271
312
|
export declare const estimateVerdict: (estimates: ReadonlyArray<RunEstimate | undefined>) => EstimateVerdict | undefined;
|
|
272
|
-
//#endregion
|
|
273
|
-
//#region src/driver.d.ts
|
|
274
313
|
/**
|
|
275
314
|
* This module measures a run of a cell whose client is a driver with more than one socket, for
|
|
276
315
|
* example the MongoDB driver. Its monitor, its pool and its round-trip pinger each have their own
|
|
@@ -338,8 +377,6 @@ export declare const referenceOf: (run: Run, from: Reference, role: string, data
|
|
|
338
377
|
* above the assumption.
|
|
339
378
|
*/
|
|
340
379
|
export declare const measureDriver: (cell: Cell, run: Run) => Measured;
|
|
341
|
-
//#endregion
|
|
342
|
-
//#region src/conntrack.d.ts
|
|
343
380
|
/** This record is the end of a connect that found no entry at its start. */
|
|
344
381
|
interface StallReading {
|
|
345
382
|
readonly errno: string;
|
|
@@ -375,8 +412,6 @@ interface ConntrackReading {
|
|
|
375
412
|
* the run did not start from an empty table.
|
|
376
413
|
*/
|
|
377
414
|
export declare const measureConntrack: (run: Run, expected: ConntrackPrediction) => Measured;
|
|
378
|
-
//#endregion
|
|
379
|
-
//#region src/pause.d.ts
|
|
380
415
|
/**
|
|
381
416
|
* This module reads one run of a paused consumer against its law. Two members of a group each hold
|
|
382
417
|
* one partition. A SIGSTOP stops the first member while it holds a batch, and a SIGCONT ends that
|
|
@@ -435,8 +470,6 @@ export declare const isFenceLine: (line: string) => boolean;
|
|
|
435
470
|
export declare const namesGroup: (line: string, group: string) => boolean;
|
|
436
471
|
/** This function reads one run of a paused consumer against its law. */
|
|
437
472
|
export declare const measurePause: (run: Run, prediction: PausePrediction) => Measured;
|
|
438
|
-
//#endregion
|
|
439
|
-
//#region src/recovery.d.ts
|
|
440
473
|
/**
|
|
441
474
|
* This module holds the pure parts of a recovery drill. These are the scripts of the shell, the reader
|
|
442
475
|
* of the output of `bsondump`, and the set check of a recovery. It has no container, thus unit tests
|
|
@@ -514,8 +547,6 @@ interface RecoveryMeasured {
|
|
|
514
547
|
export declare const recoveryOf: (drill: Drill, run: Run, t0: number) => RecoveryMeasured;
|
|
515
548
|
/** This function gives the findings of a drill: each rule of a recovery that its run broke. */
|
|
516
549
|
export declare const recoveryFindings: (measured: RecoveryMeasured, writes: Writes) => string[];
|
|
517
|
-
//#endregion
|
|
518
|
-
//#region src/timeline.d.ts
|
|
519
550
|
/**
|
|
520
551
|
* This module measures a run of a group cell. It gives the first write that a primary accepted
|
|
521
552
|
* after the fault, and the timeline of the group. The Sentinels of a group announce its timeline.
|
|
@@ -663,8 +694,6 @@ interface GroupReading {
|
|
|
663
694
|
* more than δ_abs late.
|
|
664
695
|
*/
|
|
665
696
|
export declare const measureGroup: (cell: Cell, run: Run) => GroupReading;
|
|
666
|
-
//#endregion
|
|
667
|
-
//#region src/ports.d.ts
|
|
668
697
|
/** This record is what a run of a port cell measured. */
|
|
669
698
|
interface PortsReading {
|
|
670
699
|
/** This count is the rounds of the run, each destination once. */
|
|
@@ -692,8 +721,6 @@ interface PortsReading {
|
|
|
692
721
|
* retransmissions.
|
|
693
722
|
*/
|
|
694
723
|
export declare const measurePorts: (run: Run, expected: PortsPrediction) => Measured;
|
|
695
|
-
//#endregion
|
|
696
|
-
//#region src/queue.d.ts
|
|
697
724
|
/** This record is what one connection of a queue cell did, from its lines and the records of its socket. */
|
|
698
725
|
interface QueueConnectionReading {
|
|
699
726
|
readonly name: string;
|
|
@@ -735,8 +762,6 @@ interface QueueReading {
|
|
|
735
762
|
* the prober give the waits of each socket.
|
|
736
763
|
*/
|
|
737
764
|
export declare const measureQueue: (run: Run, expected: QueuePrediction) => Measured;
|
|
738
|
-
//#endregion
|
|
739
|
-
//#region src/verdict.d.ts
|
|
740
765
|
/** This function gives the words of the outcome of a second request: its connection, a retry, and its end. */
|
|
741
766
|
export declare const requestWords: (outcome: {
|
|
742
767
|
readonly connection: "reused" | "new";
|
|
@@ -758,6 +783,21 @@ export declare const NOISE: Quantity;
|
|
|
758
783
|
* 2.75 ms at 4 environments, where δ_abs is 1 ms. Thus a cell's δ_abs does not change it.
|
|
759
784
|
*/
|
|
760
785
|
export declare const INJECT: Quantity;
|
|
786
|
+
/** A time from the fault is one time of a run from the start of the commit of its fault. It has the edges of the band that judges it. */
|
|
787
|
+
interface TimeFromFault {
|
|
788
|
+
readonly at: Quantity;
|
|
789
|
+
readonly low: Quantity;
|
|
790
|
+
readonly high: Quantity;
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* This function gives the void of a run from the commit of its fault, or null (SYS-99). A fault
|
|
794
|
+
* starts somewhere in its commit, thus each time from the start of the commit is too long by the
|
|
795
|
+
* commit or less. A commit up to `INJECT` is in the noise. A longer commit voids the run only when
|
|
796
|
+
* that shift can move a time across an edge of its band. Thus a drill with a band of minutes keeps
|
|
797
|
+
* a run with a commit of 8 ms. `times` holds each time that a band judges, with the edges of the
|
|
798
|
+
* verdict. A run with no time is void.
|
|
799
|
+
*/
|
|
800
|
+
export declare const commitVoid: (commit: Quantity, times: readonly TimeFromFault[]) => string | null;
|
|
761
801
|
/** This function gives the δ_abs of a cell: its own, or `NOISE` for a cell that gives none. */
|
|
762
802
|
export declare const noiseOf: (cell: {
|
|
763
803
|
readonly noise?: Quantity | undefined;
|
|
@@ -973,8 +1013,6 @@ export declare const medianInterval: (sorted: readonly number[]) => [number, num
|
|
|
973
1013
|
export declare const verdictOf: (prediction: Prediction, runs: readonly Measured[], noise?: Quantity) => Verdict;
|
|
974
1014
|
/** This function sums what the group of a group cell did in its counted runs, and tests each stage that has a band. */
|
|
975
1015
|
export declare const groupVerdictOf: (prediction: Prediction, counted: readonly Measured[], delta?: Quantity) => GroupVerdict;
|
|
976
|
-
//#endregion
|
|
977
|
-
//#region src/observe.d.ts
|
|
978
1016
|
/**
|
|
979
1017
|
* An outcome tells how the wait of a run ended. The socket failed with an errno, or it read the
|
|
980
1018
|
* end of the file. Or nothing came, or the reply came back after a stall. The observer can also
|
|
@@ -1074,6 +1112,8 @@ interface Measured {
|
|
|
1074
1112
|
readonly reconnect?: ReconnectReading;
|
|
1075
1113
|
/** This record is what the call in flight of a WebSocket client met. */
|
|
1076
1114
|
readonly call?: CallReading;
|
|
1115
|
+
/** This record is what a stream that crossed the fault delivered, for a prediction with a delivery law. */
|
|
1116
|
+
readonly delivery?: DeliveryReading;
|
|
1077
1117
|
/**
|
|
1078
1118
|
* This time is from the drop line of the program to the close of its socket by its own side: a
|
|
1079
1119
|
* FIN or an abort. A prediction that says how the program drops (`drop`) gets it. It is null
|
|
@@ -1186,8 +1226,6 @@ export declare const jitterOf: (cell: Cell, run: Run) => Jitter;
|
|
|
1186
1226
|
* Thus a `dial-error` line after the first try and before the end is also a new try.
|
|
1187
1227
|
*/
|
|
1188
1228
|
export declare const requestOf: (events: readonly ProbeEvent[]) => RequestReading | null;
|
|
1189
|
-
//#endregion
|
|
1190
|
-
//#region src/fabric.d.ts
|
|
1191
1229
|
/**
|
|
1192
1230
|
* A fabric is a routed network between the client and the target, on layer E3 (docs/S7.md). Four
|
|
1193
1231
|
* routers of FRRouting, two leaves and two spines, run real BGP over veth pairs that containerlab
|
|
@@ -1328,8 +1366,6 @@ interface FabricParts {
|
|
|
1328
1366
|
* sidecars with the other containers of the lab, and it calls `close` first.
|
|
1329
1367
|
*/
|
|
1330
1368
|
export declare const openFabric: (parts: FabricParts) => Promise<FabricLab>;
|
|
1331
|
-
//#endregion
|
|
1332
|
-
//#region src/image.d.ts
|
|
1333
1369
|
/** These are the names of the images that the harness ships. */
|
|
1334
1370
|
export declare const SHIPPED_NAMES: readonly [Shipped, ...Shipped[]];
|
|
1335
1371
|
/** This function gives the source of a shipped image. */
|
|
@@ -1467,8 +1503,6 @@ export declare const grpcClientImage: () => Promise<string>;
|
|
|
1467
1503
|
export declare const targetSourceOf: (target: Target) => string | ImageSource;
|
|
1468
1504
|
/** This function gives the image that a target operates: the image of its subject, or its stock image. */
|
|
1469
1505
|
export declare const targetImageOf: (target: Target) => Promise<string>;
|
|
1470
|
-
//#endregion
|
|
1471
|
-
//#region src/substrate.d.ts
|
|
1472
1506
|
/**
|
|
1473
1507
|
* A layer is a rung of the laboratory (`docs/S7.md`). E1 is containers on one kernel, and E2 is a
|
|
1474
1508
|
* cluster of containers on one kernel. A lab with `Topology.fabric` writes E3: routers in containers.
|
|
@@ -1562,8 +1596,6 @@ export declare const substrateKey: (substrate: Substrate) => string;
|
|
|
1562
1596
|
* substrate can miss a pair.
|
|
1563
1597
|
*/
|
|
1564
1598
|
export declare const unpoolable: (substrates: readonly Substrate[]) => readonly [Substrate, Substrate] | undefined;
|
|
1565
|
-
//#endregion
|
|
1566
|
-
//#region src/lab.d.ts
|
|
1567
1599
|
/**
|
|
1568
1600
|
* This time is the interval of the listing of a router, when its hop does not set one. A listing
|
|
1569
1601
|
* evicts each expired flow that it walks past, and the DESTROY event of that flow follows.
|
|
@@ -1587,9 +1619,10 @@ export declare const PUMP_SLACK: Quantity;
|
|
|
1587
1619
|
/**
|
|
1588
1620
|
* A network fault is a fault that the injector applies as a filter rule. It is a black hole (both
|
|
1589
1621
|
* directions, or one), or a reset on the next segment. It can also be an ICMP unreachable for each
|
|
1590
|
-
* segment, or a drop of each segment that is longer than a length.
|
|
1622
|
+
* segment, or a drop of each segment that is longer than a length. It can also be a drop of the
|
|
1623
|
+
* first ACK of each FIN that the namespace sends.
|
|
1591
1624
|
*/
|
|
1592
|
-
type NetworkFault = "blackhole" | "rst" | "reject" | "mtu";
|
|
1625
|
+
type NetworkFault = "blackhole" | "rst" | "reject" | "mtu" | "fin-ack";
|
|
1593
1626
|
/** These are the options of a network fault: the direction of a black hole, the code of a reject, the length of an MTU drop. */
|
|
1594
1627
|
interface FaultOptions {
|
|
1595
1628
|
/** This direction is relative to the namespace of the rule: `in` drops what comes from the peer, `out` what goes to it. */
|
|
@@ -1971,8 +2004,6 @@ export declare const deviceOf: (route: string) => string;
|
|
|
1971
2004
|
* target and each later hop see the router as the peer.
|
|
1972
2005
|
*/
|
|
1973
2006
|
export declare const openLab: (target: Target, kind?: Client | ClientImage, topology?: Topology) => Promise<Lab>;
|
|
1974
|
-
//#endregion
|
|
1975
|
-
//#region src/standby.d.ts
|
|
1976
2007
|
/** This text is the line of the log of a standby that serves reads (src/backend/postmaster/postmaster.c:3740). */
|
|
1977
2008
|
export declare const STANDBY_READY: string;
|
|
1978
2009
|
/** This text is the write of the client, with its sequence number. */
|
|
@@ -1997,8 +2028,6 @@ export declare const openStandby: (lab: Lab, cell: Cell) => Promise<Sibling>;
|
|
|
1997
2028
|
* environment. It removes its rows, thus the numbers of the run start on an empty table.
|
|
1998
2029
|
*/
|
|
1999
2030
|
export declare const pairOnce: (lab: Lab, standby: Sibling, cell: Cell, environment: number, index: number, dry?: boolean) => Promise<Run>;
|
|
2000
|
-
//#endregion
|
|
2001
|
-
//#region src/locks.d.ts
|
|
2002
2031
|
/**
|
|
2003
2032
|
* This module reads the lockfiles of a build context for the manifest of a run. A lockfile pins each
|
|
2004
2033
|
* package that a build installs, thus its sha256 pins the packages that the image holds. The
|
|
@@ -2038,8 +2067,6 @@ export declare const jarVersions: (list: string) => Record<string, string>;
|
|
|
2038
2067
|
* from such a lockfile.
|
|
2039
2068
|
*/
|
|
2040
2069
|
export declare const versionsOf: (files: readonly ContextFile[]) => Record<string, string>;
|
|
2041
|
-
//#endregion
|
|
2042
|
-
//#region src/pins.d.ts
|
|
2043
2070
|
/**
|
|
2044
2071
|
* This function gives each problem of a manifest that stops it from pinning the programs of its
|
|
2045
2072
|
* run. An empty list means that the manifest pins each program.
|
|
@@ -2074,8 +2101,6 @@ export declare const DEBUG = "the record is of a local debug run, and no page re
|
|
|
2074
2101
|
* of a schedule refuses it. A commit with changes to tracked files is not a pin.
|
|
2075
2102
|
*/
|
|
2076
2103
|
export declare const recordProblems: (record: Pinnable) => string[];
|
|
2077
|
-
//#endregion
|
|
2078
|
-
//#region src/group.d.ts
|
|
2079
2104
|
/**
|
|
2080
2105
|
* This module is the lab of a replicated group: a primary and its replicas, and the Sentinels
|
|
2081
2106
|
* that decide which member is the primary. It opens one environment for a group cell, and it does
|
|
@@ -2210,8 +2235,6 @@ export declare const subscriptionsOf: (timeline: readonly SentinelEvent[]) => Se
|
|
|
2210
2235
|
* tell which writes it kept.
|
|
2211
2236
|
*/
|
|
2212
2237
|
export declare const groupOnce: (lab: GroupLab, cell: Cell, environment: number, index: number) => Promise<Run>;
|
|
2213
|
-
//#endregion
|
|
2214
|
-
//#region src/replset.d.ts
|
|
2215
2238
|
/**
|
|
2216
2239
|
* This module is the lab of a replica set: a replicated group with no external authority, whose
|
|
2217
2240
|
* members elect their own primary. It opens one environment for a replica set cell, for the runs
|
|
@@ -2368,8 +2391,6 @@ export declare const replicaSetArgs: (cell: Cell, members: Readonly<Record<strin
|
|
|
2368
2391
|
* tell which writes it kept. The log lines of the members go onto the monotonic clock.
|
|
2369
2392
|
*/
|
|
2370
2393
|
export declare const replicaSetOnce: (lab: ReplicaSetLab, cell: Cell, environment: number, index: number) => Promise<Run>;
|
|
2371
|
-
//#endregion
|
|
2372
|
-
//#region src/drill.d.ts
|
|
2373
2394
|
/**
|
|
2374
2395
|
* This function does one run of a recovery drill:
|
|
2375
2396
|
* - The set converges, and it loses its writes. The tenants get their data, and a hash reads it.
|
|
@@ -2380,8 +2401,6 @@ export declare const replicaSetOnce: (lab: ReplicaSetLab, cell: Cell, environmen
|
|
|
2380
2401
|
* hash tells if the tenants have the same data.
|
|
2381
2402
|
*/
|
|
2382
2403
|
export declare const drillOnce: (lab: ReplicaSetLab, cell: Cell, environment: number, index: number) => Promise<Run>;
|
|
2383
|
-
//#endregion
|
|
2384
|
-
//#region src/cluster.d.ts
|
|
2385
2404
|
/**
|
|
2386
2405
|
* This module is the lab of a cluster of RabbitMQ with one quorum queue. The members of the queue
|
|
2387
2406
|
* elect its leader by Raft, one member on each node. It opens one environment for a cluster cell,
|
|
@@ -2551,8 +2570,6 @@ export declare const restamped: (line: NodeLine, events: readonly ProbeEvent[])
|
|
|
2551
2570
|
* then holds tell which publishes it kept. The log lines of the nodes go onto the monotonic clock.
|
|
2552
2571
|
*/
|
|
2553
2572
|
export declare const clusterOnce: (lab: ClusterLab, cell: Cell, environment: number, index: number) => Promise<Run>;
|
|
2554
|
-
//#endregion
|
|
2555
|
-
//#region src/kafka.d.ts
|
|
2556
2573
|
/** This function gives the node id of a name. A broker has its place in the list from 1, and the controller has the id after them. */
|
|
2557
2574
|
export declare const nodeIdOf: (kafka: Kafka, name: string) => number;
|
|
2558
2575
|
/**
|
|
@@ -2674,8 +2691,6 @@ export declare const kafkaOnce: (lab: KafkaLab, cell: Cell, environment: number,
|
|
|
2674
2691
|
* The law reads no kernel record, thus a lost record does not void this run.
|
|
2675
2692
|
*/
|
|
2676
2693
|
export declare const kafkaPauseOnce: (lab: KafkaLab, cell: Cell, environment: number, index: number) => Promise<Run>;
|
|
2677
|
-
//#endregion
|
|
2678
|
-
//#region src/run.d.ts
|
|
2679
2694
|
/** A cell result is a cell with its manifests, its runs, their measurements and its verdict. */
|
|
2680
2695
|
interface CellResult {
|
|
2681
2696
|
readonly cell: Cell;
|
|
@@ -2728,6 +2743,4 @@ export declare const environmentCounts: (cell: Cell, runs: number) => number[];
|
|
|
2728
2743
|
* Each environment does a warm-up first, and the result keeps it apart from the counted runs.
|
|
2729
2744
|
*/
|
|
2730
2745
|
export declare const runCell: (cell: Cell, say?: (line: string) => void) => Promise<CellResult>;
|
|
2731
|
-
|
|
2732
|
-
export { type Agent, type BuildImage, type BuildRecord, CLIENT_CAPABILITIES, type CallReading, type Cell, type CellResult, type Client, type ClientCapability, type ClientImage, type ClockPair, type Cloud, type Cluster, type ClusterClientAt, type ClusterLab, type ClusterStage, type ConntrackPrediction, type ConntrackReading, type ContextFile, type CountBand, type Crossings, type Cut, type Decision, type Drill, type DrillRoom, type DriverBand, type DriverSocket, type DriverStep, type DriverStepTime, type ErrorOnTheWay, type EstimateVerdict, type Fabric, type FabricLab, type FabricManifest, type FabricParts, type Fault, type FaultPlace, type FaultSide, type Group, type GroupClient, type GroupLab, type GroupMeasured, type GroupNetworkFault, type GroupPlace, type GroupPrediction, type GroupReading, type GroupRole, type GroupVerdict, type GroupView, type Hop, type HopEvent, type HopPlace, type HopSignal, type HopWrite, type Host, type HostSetting, type HostSysctl, type HttpProbe, type ImagePlan, type ImageSource, type Interval, type Jitter, type Kafka, type KafkaLab, type KafkaMember, type KafkaPause, type KernelRecord, type Lab, type Layer, type LeafViews, type LineCount, type LineMatch, type LoadBand, type LoadJudgement, type LoadPlan, type LoadPrediction, type LoadSpread, type LoadStream, type LoadVerdict, type Manifest, type ManifestHop, type Measured, type MemberLine, type MiddleboxEvent, type MiddleboxExpectation, type MiddleboxForm, type NetworkFault, type NodeLine, type Observer, type OplogRead, type OplogTime, type Outcome, type Outcomes, type Pair, type PairSets, type Pairing, type PartitionView, type PauseBand, type PauseCommit, type PausePrediction, type PauseReading, type Pinnable, type PinnedImage, type PortsPrediction, type PortsReading, type Prediction, type Probe, type ProbeEvent, type ProgramEvent, type ProxyHop, type ProxyTime, type QueueBand, type QueueConnection, type QueueConnectionReading, type QueueEnd, type QueuePrediction, type QueueReading, type ReconnectReading, type ReconnectVerdict, type Reconnects, type RecordCode, type Recovers, type RecoveryMeasured, type Reference, type Reordering, type ReplicaSet, type ReplicaSetLab, type ReplicaSetStage, type Replies, type RequestPrediction, type RequestReading, type RouteLine, type RouterHop, type RttRange, type Run, type RunBackup, type RunDrill, type RunEstimate, type RunFabric, type RunGroup, type RunLoad, type RunPart, type RunPause, type RunRoute, type RunStream, type RunTopology, type SentinelEvent, type SentinelStage, type Shipped, type ShippedImage, type Sibling, type SocketPlace, type Spread, type Stage, type StageBand, type StageVerdict, type StallReading, type Stamp, type Status, type StatusRow, type Subject, type Substrate, type SubstrateSource, type Target, type Topology, type Toxic, type Verdict, type WallStamp, type Writes, type WsProbe, environmentProblems, isHopPlace, latestEndOf };
|
|
2733
|
-
//# sourceMappingURL=index.d.ts.map
|
|
2746
|
+
export { type Agent, type BuildImage, type BuildRecord, CLIENT_CAPABILITIES, type CallReading, type Cell, type CellResult, type Client, type ClientCapability, type ClientImage, type ClockPair, type Cloud, type Cluster, type ClusterClientAt, type ClusterLab, type ClusterStage, type ConntrackPrediction, type ConntrackReading, type ContextFile, type CountBand, type Crossings, type Cut, type Decision, type DeliveryPrediction, type DeliveryReading, type DeliveryStream, type Drill, type DrillRoom, type DriverBand, type DriverSocket, type DriverStep, type DriverStepTime, type ErrorOnTheWay, type EstimateVerdict, type Fabric, type FabricLab, type FabricManifest, type FabricParts, type Fault, type FaultPlace, type FaultSide, type Group, type GroupClient, type GroupLab, type GroupMeasured, type GroupNetworkFault, type GroupPlace, type GroupPrediction, type GroupReading, type GroupRole, type GroupVerdict, type GroupView, type Hop, type HopEvent, type HopPlace, type HopSignal, type HopWrite, type Host, type HostSetting, type HostSysctl, type HttpProbe, type ImagePlan, type ImageSource, type Interval, type Jitter, type Kafka, type KafkaLab, type KafkaMember, type KafkaPause, type KernelRecord, type Lab, type Layer, type LeafViews, type LineCount, type LineMatch, type LoadBand, type LoadJudgement, type LoadPlan, type LoadPrediction, type LoadSpread, type LoadStream, type LoadVerdict, type Manifest, type ManifestHop, type Measured, type MemberLine, type MiddleboxEvent, type MiddleboxExpectation, type MiddleboxForm, type NetworkFault, type NodeLine, type Observer, type OplogRead, type OplogTime, type Outcome, type Outcomes, type Pair, type PairSets, type Pairing, type PartitionView, type PauseBand, type PauseCommit, type PausePrediction, type PauseReading, type Pinnable, type PinnedImage, type PortsPrediction, type PortsReading, type Prediction, type Probe, type ProbeEvent, type ProgramEvent, type ProxyHop, type ProxyTime, type QueueBand, type QueueConnection, type QueueConnectionReading, type QueueEnd, type QueuePrediction, type QueueReading, type ReconnectReading, type ReconnectVerdict, type Reconnects, type RecordCode, type Recovers, type RecoveryMeasured, type Reference, type Reordering, type ReplicaSet, type ReplicaSetLab, type ReplicaSetStage, type Replies, type RequestPrediction, type RequestReading, type RouteLine, type RouterHop, type RttRange, type Run, type RunBackup, type RunDrill, type RunEstimate, type RunFabric, type RunGroup, type RunLoad, type RunPart, type RunPause, type RunRoute, type RunStream, type RunTopology, type SentinelEvent, type SentinelStage, type Shipped, type ShippedImage, type Sibling, type SocketPlace, type Spread, type Stage, type StageBand, type StageVerdict, type StallReading, type Stamp, type Status, type StatusRow, type Subject, type Substrate, type SubstrateSource, type Target, type TimeFromFault, type Topology, type Toxic, type Verdict, type WallStamp, type Writes, type WsProbe, environmentProblems, isHopPlace, latestEndOf };
|