mcl_core 1.1.0: realm call relayed by the bridge; publish to the LAN and the mesh #14
Loading…
Reference in a new issue
No description provided.
Delete branch "venus/10-realm-call"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
mcl_core 1.1.0: a realm call relayed by the bridge (#10), and a publish that goes to the LAN and the mesh, deduplicated at the bridge (#12). The LAN sits beside the mesh, never in place of it (Raf, 2026-12-02).
mcl_core:call_realm/3: direct dial on the pool; a member relays it to the bridge over erpc. Never raises.publish/2,3goes to the LAN and the mesh. The answer is the mesh's, butokwhen the LAN took the fact and the mesh can't be reached (mesh_unavailable, a member's{bridge_unreachable, _}). A publish naming the node's ownrealmreaches the LAN too.mcl_core_cluster_echo(drops a mesh event whose publisher is a cluster node); it reads back unwrapped, so the reconcile doesn't restart it. Sealed-group subs stay mesh-only; standalone is unchanged; no wire change.Local: lint, xref, eunit 595/0, dialyzer green; ex_doc warns only at the pre-existing mcl_core_service.erl:181. ct at
ef5cbd5: every suite passes except mcl_service_template_SUITE init, which refuses locally because the installed rebar3 template points at another checkout (environment, not code). Afteref5cbd5only DESIGN.md changed (merge of main + one wording line). Mutants: 9 on the new decisions, each fails a test.Refs #10, Refs #12, Refs macula-services/mcl-graph#19, Refs macula-services/mcl-kanban#16
- mcl_core_lan:publish/3 skips the LAN only for a realm other than this node's own (own_realm/1). Before, a publish naming the own realm went to the mesh alone, and the bridge's echo wrapper then dropped it as a cluster node's fact, so no LAN-carried subscriber heard it. - mcl_core_transport:publish/3 answers ok when the LAN took the fact and a member's relay answers {bridge_unreachable, _}, as for mesh_unavailable: 1.0 answered ok there, and a retry would deliver to the LAN twice. - eunit for both, three mutants each fail a test; guide, CHANGELOG, DESIGN §9.Landed by fast-forward: main is
391fe14cce(fromdb68d823). This repository does not allow the manually-merged style, so the PR is closed by hand.Pull request closed