@mark1russell7/harness 0.11.7 → 0.11.8

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 CHANGED
@@ -51,7 +51,9 @@ The element before a router reaches the networks after the router through it. It
51
51
 
52
52
  A lookup treats an expired conntrack entry as gone, thus the router forgets a flow at its timeout, to the jiffy. The DESTROY event of the entry waits for the garbage collector or a list of the table. Thus `ctwatch.py` in the router lists the table each `pump` (`PUMP`, 0.1 s by default). A DESTROY then follows an expiry within the pump and two lists of the table.
53
53
 
54
- `LISTING` (20 ms) is the longest list of the table that a prediction assumes. A longer list writes a `pump-slow` line, and a run with one near a detection by a timer of conntrack is void. The `reset-both` form sends its resets on the DESTROY event. Each reset has the sequence number that its end expects. A raw sniffer reads it from the last acknowledgment of that end.
54
+ `LISTING` (20 ms) is the longest list of the table that a prediction assumes. A longer list writes a `pump-slow` line, and a run with one near a detection by a timer of conntrack is void. `PUMP_SLACK` (5 ms) is how late the pump can be after its interval and two lists. Its sleep can end late, and the read of the event takes time. Thus a DESTROY follows an expiry within the interval of the pump, two lists and that slack.
55
+
56
+ The `reset-both` form sends its resets on the DESTROY event. Each reset has the sequence number that its end expects. A raw sniffer reads it from the last acknowledgment of that end.
55
57
 
56
58
  The lines of each router (`Lab.middlebox`) are the conntrack events and the resets that it sent, on CLOCK_MONOTONIC. Each run keeps the lines from its start to its end.
57
59
 
package/build/index.d.ts CHANGED
@@ -656,6 +656,14 @@ export declare const PUMP: Quantity;
656
656
  * longer listing writes a `pump-slow` line, and a run with one near its detection is void.
657
657
  */
658
658
  export declare const LISTING: Quantity;
659
+ /**
660
+ * This time is how late the pump of a router can be beyond its interval and its two listings. The
661
+ * pump sleeps after each listing, and the sleep can end late. The watcher also reads and stamps each
662
+ * event within a millisecond. Thus a DESTROY follows an expiry within the interval of the pump, two
663
+ * listings and this slack. It is an assumption: in run 39116866471, two of 11 forgets came 1.6 ms
664
+ * and 2.2 ms after the pump and two listings.
665
+ */
666
+ export declare const PUMP_SLACK: Quantity;
659
667
  /**
660
668
  * A network fault is a fault that the injector applies as a filter rule. It is a black hole (both
661
669
  * directions, or one), or a reset on the next segment. It can also be an ICMP unreachable for each
package/build/index.js CHANGED
@@ -1916,6 +1916,17 @@ const LISTING = {
1916
1916
  value: 20,
1917
1917
  unit: "ms"
1918
1918
  };
1919
+ /**
1920
+ * This time is how late the pump of a router can be beyond its interval and its two listings. The
1921
+ * pump sleeps after each listing, and the sleep can end late. The watcher also reads and stamps each
1922
+ * event within a millisecond. Thus a DESTROY follows an expiry within the interval of the pump, two
1923
+ * listings and this slack. It is an assumption: in run 39116866471, two of 11 forgets came 1.6 ms
1924
+ * and 2.2 ms after the pump and two listings.
1925
+ */
1926
+ const PUMP_SLACK = {
1927
+ value: 5,
1928
+ unit: "ms"
1929
+ };
1919
1930
  /** This function gives the arguments of the injector for the options of a fault. */
1920
1931
  const optionArgs = (options) => [
1921
1932
  ...options.direction === void 0 ? [] : ["--direction", options.direction],
@@ -4615,6 +4626,6 @@ const runCell = async (cell, say = () => {}) => {
4615
4626
  }
4616
4627
  };
4617
4628
  //#endregion
4618
- export { CLIENT_NAMES, CONVERGE_MS, INJECT, KEPT, LINGER_MS, LISTING, MEMBER_MARKS, NOISE, PINNED, PUMP, QUIET_MS, RELATIVE, REPLICA_SET_STAGES, REPOSITORY, SHIPPED_CLIENTS, SHIPPED_NAMES, STAGES, STATUS_SCRIPT, STEPS, STEP_DOWN, SUBJECTS, callOf, clockOffsetOf, closeOrExit, crossingsOf, cutOf, deadlineOf, delayVoids, deviceOf, dropFinding, dropOf, endpointAfter, errorsOf, exitOf, fieldOf, fieldsOf, firstUnanswered, goHttpImage, groupOnce, groupVerdictOf, harnessImage, hikariClientImage, hzOf, imageOf, imageProblems, inContext, infoOf, initiateScript, isHopPlace, judge, lagsOf, latestEndOf, leftAfter, matches, measure, measureDriver, measureGroup, medianInterval, memberCommand, memberConfig, memberLineOf, mongoClientImage, nodeClientImage, nodeHttpImage, noiseOf, onMonotonic, openGroupLab, openLab, openReplicaSetLab, peersOf, pgClientImage, pingsOf, planOf, proceduresImage, programLines, programOf, quantileOf, reconnectFinding, reconnectOf, referenceOf, reorderingOf, replicaSetArgs, replicaSetOnce, replicaSetStagesOf, requestOf, requestWords, routerImage, routesOf, runCell, sentinelConfig, socketAt, socketOf, socketsOf, spread, spreadOf, stagesOf, statusViewOf, subjectClient, subjectProblems, subscriptionsOf, targetImageOf, targetSourceOf, templated, toxicBody, unlockedManifests, unpinnedBases, verdictOf, viewOf, writesOf };
4629
+ export { CLIENT_NAMES, CONVERGE_MS, INJECT, KEPT, LINGER_MS, LISTING, MEMBER_MARKS, NOISE, PINNED, PUMP, PUMP_SLACK, QUIET_MS, RELATIVE, REPLICA_SET_STAGES, REPOSITORY, SHIPPED_CLIENTS, SHIPPED_NAMES, STAGES, STATUS_SCRIPT, STEPS, STEP_DOWN, SUBJECTS, callOf, clockOffsetOf, closeOrExit, crossingsOf, cutOf, deadlineOf, delayVoids, deviceOf, dropFinding, dropOf, endpointAfter, errorsOf, exitOf, fieldOf, fieldsOf, firstUnanswered, goHttpImage, groupOnce, groupVerdictOf, harnessImage, hikariClientImage, hzOf, imageOf, imageProblems, inContext, infoOf, initiateScript, isHopPlace, judge, lagsOf, latestEndOf, leftAfter, matches, measure, measureDriver, measureGroup, medianInterval, memberCommand, memberConfig, memberLineOf, mongoClientImage, nodeClientImage, nodeHttpImage, noiseOf, onMonotonic, openGroupLab, openLab, openReplicaSetLab, peersOf, pgClientImage, pingsOf, planOf, proceduresImage, programLines, programOf, quantileOf, reconnectFinding, reconnectOf, referenceOf, reorderingOf, replicaSetArgs, replicaSetOnce, replicaSetStagesOf, requestOf, requestWords, routerImage, routesOf, runCell, sentinelConfig, socketAt, socketOf, socketsOf, spread, spreadOf, stagesOf, statusViewOf, subjectClient, subjectProblems, subscriptionsOf, targetImageOf, targetSourceOf, templated, toxicBody, unlockedManifests, unpinnedBases, verdictOf, viewOf, writesOf };
4619
4630
 
4620
4631
  //# sourceMappingURL=index.js.map