From 56837530e17d95814d21076c527c8577f0a6da97 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 18 Nov 2026 18:50:46 +0000 Subject: dashboard: the event a federation's store stopped at The federation view shows, below this node's party, the event its store stopped at (`stopped` in `GET /events`), why, and how many events it holds back, with what to do: run a continuum that reads it, or drop it. The page check renders one. --- src/api/dashboard/dashboard.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/api/dashboard/dashboard.html') diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html index a918532..f5d258b 100644 --- a/src/api/dashboard/dashboard.html +++ b/src/api/dashboard/dashboard.html @@ -4249,9 +4249,10 @@ function connect() { // --- The federation: in a swarm holding a store (the snapshot names the node's party), // the box shows what counts as this node reads it (`GET /events`, `/events/counts`, // `/events/refused`; docs/guides/federation/) instead of the document, until `document` -// says otherwise: the current version, the parties, the rules, the values at places (each -// with who writes there), the proposals on the version (where each stands, who voted -// what, and what its version changes) and what the node refused. A vote goes through +// says otherwise: the current version, the event the store stopped at, if any, the +// parties, the rules, the values at places (each with who writes there), the proposals on +// the version (where each stands, who voted what, and what its version changes) and what +// the node refused. A vote goes through // this node (`POST /admin/events/vote`), which casts it only where it votes for its party // by itself (`votesByItself`). Read every 5 s while shown, what counts anew where the // store's heads changed. Writing values takes a key of the party, which the page has @@ -4574,6 +4575,10 @@ function renderFederation(force = false) { summary.store), federationLeaf("this node", "of " + summary.party + (summary.votesByItself ? ", voting for it by itself" : ", not voting for it by itself")), + ...(summary.stopped ? [federationLeaf(el("span", { class: "error" }, "stopped at " + + short(summary.stopped.id)), summary.stopped.why + " ยท " + summary.stopped.heldBack + + " held back: run a continuum that reads it, or drop it " + + "(docs/guides/federation/when-things-go-wrong.md)", summary.stopped.id)] : []), federationBranch("parties", ["parties ", el("span", { class: "gloss" }, parties.length)], () => parties.map(party => { const keys = counts.parties[party].keys, nodes = counts.parties[party].nodes; -- cgit v1.3.1