@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serfab/quereus-plugin-sereus",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Quereus plugin that connects to a Sereus strand for SQL access",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
"@libp2p/circuit-relay-v2": "^4.1.3",
|
|
68
68
|
"@libp2p/interface": "^3.1.0",
|
|
69
69
|
"@libp2p/websockets": "^10.1.3",
|
|
70
|
-
"@optimystic/db-core": "^1.0.0
|
|
71
|
-
"@optimystic/db-p2p": "^1.0.0
|
|
72
|
-
"@optimystic/db-p2p-storage-fs": "^1.0.0
|
|
73
|
-
"@optimystic/db-p2p-storage-web": "^1.0.0
|
|
74
|
-
"@optimystic/quereus-plugin-crypto": "^1.0.0
|
|
75
|
-
"@optimystic/quereus-plugin-optimystic": "^1.0.0
|
|
76
|
-
"@quereus/quereus": "^4.19.
|
|
70
|
+
"@optimystic/db-core": "^1.0.0",
|
|
71
|
+
"@optimystic/db-p2p": "^1.0.0",
|
|
72
|
+
"@optimystic/db-p2p-storage-fs": "^1.0.0",
|
|
73
|
+
"@optimystic/db-p2p-storage-web": "^1.0.0",
|
|
74
|
+
"@optimystic/quereus-plugin-crypto": "^1.0.0",
|
|
75
|
+
"@optimystic/quereus-plugin-optimystic": "^1.0.0",
|
|
76
|
+
"@quereus/quereus": "^4.19.4",
|
|
77
77
|
"debug": "^4.4.3"
|
|
78
78
|
},
|
|
79
79
|
"quereus": {
|
package/src/cluster-size.ts
CHANGED
|
@@ -199,11 +199,14 @@ export const CONTROL_CLUSTER_POLICY = Object.freeze({
|
|
|
199
199
|
* cadre-driven path, the one that resolves a seed for itself, a strand's libp2p mesh is seeded
|
|
200
200
|
* from exactly one party's own control-database peer rows (`CadreNode.resolveCohortSeed`), so
|
|
201
201
|
* the cohort actually formed is that one party's machines. Four copies are, on that path, four
|
|
202
|
-
* machines belonging to one party — one failure domain, one witness. A cross-party mesh
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
202
|
+
* machines belonging to one party — one failure domain, one witness. A cross-party mesh has
|
|
203
|
+
* exactly one automatic path — a formation result carries the responder's strand addresses and
|
|
204
|
+
* `CadreNode.resolveCohortSeed` unions them in, seeding only the pair that just redeemed an
|
|
205
|
+
* invitation — and is otherwise hand-supplied addresses
|
|
206
|
+
* (`StrandConnectionOptions.bootstrapNodes`) or a hand-written dial (see the doc). Every party
|
|
207
|
+
* now holds its own membership identity, so the missing piece is placement, not identity:
|
|
208
|
+
* tracked as `backlog/feat-strand-party-diverse-placement`. Full reasoning:
|
|
209
|
+
* `docs/architecture.md` → "Replication cluster size".
|
|
207
210
|
*
|
|
208
211
|
* Raising or lowering it per strand is still the embedder's call
|
|
209
212
|
* ({@link resolveStrandClusterSize}, `CadreNodeConfig.strandClusterSize`,
|