@systemfsoftware/effect-daemon-cluster 1.0.3 → 1.1.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/CHANGELOG.md +9 -0
- package/package.json +3 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# @systemfsoftware/effect-daemon-cluster
|
|
2
|
+
|
|
3
|
+
# @systemfsoftware/effect-daemon-cluster@1.1.0
|
|
4
|
+
|
|
5
|
+
Run singletons across processes over Postgres. `ClusterMedium.sqlRunnerLayer` builds `Sharding` over `SqlRunnerStorage` with no-op runner transport, health and message storage, from a caller's `SqlClient` and `ClusterMedium.SqlRunnerSettings`. The oldest live runner owns every shard, so a joining process waits as a standby, and a runner whose sessions are gone leaves at the next assignment poll. The layer fails with `RunnerSessionsUnnamed` unless the client's sessions carry the runner address as `application_name`.
|
|
6
|
+
|
|
7
|
+
A singleton whose shard another runner owns is now announced ready at once instead of never, and a run interrupted because its shard moved away keeps the child registered instead of reporting it terminated. Stopping a child with no run in flight reports `Shutdown`.
|
|
8
|
+
|
|
9
|
+
Requires Effect ^4.1.2.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/effect-daemon-cluster",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"author": "Ryan Lee <drdgvhbh@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@systemfsoftware/effect-cell-types": "^12.0.2",
|
|
39
|
-
"@systemfsoftware/effect-daemon-conformance": "^1.0.
|
|
40
|
-
"@systemfsoftware/effect-daemon-spec": "^6.0.
|
|
39
|
+
"@systemfsoftware/effect-daemon-conformance": "^1.0.4",
|
|
40
|
+
"@systemfsoftware/effect-daemon-spec": "^6.0.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@effect/platform-node": "4.1.2",
|