From 602d12f64742e72b6559ce73cdf4b668dbcb4929 Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 25 Nov 2026 23:40:19 +0100 Subject: [PATCH] Design 47 H2: H-A-766, a first view behind its owner's said revision is read again until it holds it --- .../01-to-be/47-milestones/H2-lead-answers-6.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-6.md b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-6.md index e115f9f0..9a0de825 100644 --- a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-6.md +++ b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-6.md @@ -971,3 +971,17 @@ mesh-delivery 3b1f03ce, mesh-tools 393449e, mesh-catalog 17e1bfb6 and mesh-sdk b such a path whose own requirements are of the same repository (mesh-grants' layout): each listing and build of the path passes; a row of the indexer's recompute test: packages moved, no fingerprint moved, a revision is kept with no movers. +- **H-A-766 (a first view behind the revision its owner said is read again until it holds it, 23:40)** 25 Nov, issue 1984; + met twice tonight (21:28 and 23:21 CET): the indexer's tool runtime re-reads its view of the trunk on a heard + catalog-revision, and when that re-read times out (10 s and 6 s over 189 entries) it keeps the older revision until + the next event, which may never come; the grants part, told the indexer's modules up to 531, asked the view again, + got 529 and stopped; no grant of a new fingerprint was written and two puts waited (recovered by a restart of the + tool runtime at 23:37 and grants_first_view_again). So (1) the indexer's tool runtime reads its view of the trunk again + after a failed re-read, with a backoff (a setting, default 5 s doubling to 1 min), until it holds the newest revision + heard, each failure said once per revision with its cause; (2) a reader of a first view that is answered at a + revision below the one its owner said (the grants part's first views, read through the SDK's views) asks again with + the same backoff until the answer holds that revision, and says so while it waits, never stopping at the older one; + (3) the indexer serves a tool that reads its view of the trunk again now, by hand (principle 4). Principles 3 and 4. + How it is checked: a row of the tool runtime's view test, a re-read that fails once then answers: the view holds the + newest revision without a second event; a row of the SDK's first-view reader, an answer below the said revision then + one at it: the reader holds the said revision; live: no grant is missing for a revision the indexer said.