@serfab/quereus-plugin-sereus 0.13.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +367 -367
- package/dist/cluster-size.d.ts +8 -5
- package/dist/cluster-size.js +8 -5
- package/dist/cluster-size.js.map +1 -1
- package/dist/plugin-browser.js +8550 -1786
- package/dist/plugin-browser.js.map +4 -4
- package/package.json +8 -8
- package/src/cluster-size.ts +8 -5
package/dist/cluster-size.d.ts
CHANGED
|
@@ -195,11 +195,14 @@ export declare const CONTROL_CLUSTER_POLICY: Readonly<{
|
|
|
195
195
|
* cadre-driven path, the one that resolves a seed for itself, a strand's libp2p mesh is seeded
|
|
196
196
|
* from exactly one party's own control-database peer rows (`CadreNode.resolveCohortSeed`), so
|
|
197
197
|
* the cohort actually formed is that one party's machines. Four copies are, on that path, four
|
|
198
|
-
* machines belonging to one party — one failure domain, one witness. A cross-party mesh
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
198
|
+
* machines belonging to one party — one failure domain, one witness. A cross-party mesh has
|
|
199
|
+
* exactly one automatic path — a formation result carries the responder's strand addresses and
|
|
200
|
+
* `CadreNode.resolveCohortSeed` unions them in, seeding only the pair that just redeemed an
|
|
201
|
+
* invitation — and is otherwise hand-supplied addresses
|
|
202
|
+
* (`StrandConnectionOptions.bootstrapNodes`) or a hand-written dial (see the doc). Every party
|
|
203
|
+
* now holds its own membership identity, so the missing piece is placement, not identity:
|
|
204
|
+
* tracked as `backlog/feat-strand-party-diverse-placement`. Full reasoning:
|
|
205
|
+
* `docs/architecture.md` → "Replication cluster size".
|
|
203
206
|
*
|
|
204
207
|
* Raising or lowering it per strand is still the embedder's call
|
|
205
208
|
* ({@link resolveStrandClusterSize}, `CadreNodeConfig.strandClusterSize`,
|
package/dist/cluster-size.js
CHANGED
|
@@ -194,11 +194,14 @@ export const CONTROL_CLUSTER_POLICY = Object.freeze({
|
|
|
194
194
|
* cadre-driven path, the one that resolves a seed for itself, a strand's libp2p mesh is seeded
|
|
195
195
|
* from exactly one party's own control-database peer rows (`CadreNode.resolveCohortSeed`), so
|
|
196
196
|
* the cohort actually formed is that one party's machines. Four copies are, on that path, four
|
|
197
|
-
* machines belonging to one party — one failure domain, one witness. A cross-party mesh
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
197
|
+
* machines belonging to one party — one failure domain, one witness. A cross-party mesh has
|
|
198
|
+
* exactly one automatic path — a formation result carries the responder's strand addresses and
|
|
199
|
+
* `CadreNode.resolveCohortSeed` unions them in, seeding only the pair that just redeemed an
|
|
200
|
+
* invitation — and is otherwise hand-supplied addresses
|
|
201
|
+
* (`StrandConnectionOptions.bootstrapNodes`) or a hand-written dial (see the doc). Every party
|
|
202
|
+
* now holds its own membership identity, so the missing piece is placement, not identity:
|
|
203
|
+
* tracked as `backlog/feat-strand-party-diverse-placement`. Full reasoning:
|
|
204
|
+
* `docs/architecture.md` → "Replication cluster size".
|
|
202
205
|
*
|
|
203
206
|
* Raising or lowering it per strand is still the embedder's call
|
|
204
207
|
* ({@link resolveStrandClusterSize}, `CadreNodeConfig.strandClusterSize`,
|
package/dist/cluster-size.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-size.js","sourceRoot":"","sources":["../src/cluster-size.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,EAAE,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC;IACnD,aAAa,EAAE,I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