One root with a failed refresh makes indexed external view filters refuse for everyone

Offen
#2,695 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
postgresql, rust
Bereich
backend, databases

Rechercherichtung

Read external_runtime.rs and external_view_query.rs, then trace how refresh outcomes are represented for roots visible to a caller. Add a test for a root whose refresh has permanently ended, and decide whether it counts as covered and is served as unavailable or causes the query to be refused. Done when the test captures the chosen behavior and the filter, sort, and count query outcome is clear.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Filters, sorts and counts on an indexed external view return registry-breg/external_view/incomplete unless every root the caller can see has a fresh copy (external_runtime.rs and external_view_query.rs). A root can lack one for good. Its refresh may have ended as denied, refused by retention or out of attempts, or the root may sit outside the worker's row boundary. Then "list licences filtered by holder name" fails for every caller who can see that root.

This is unchanged from main.

Next step: add a test for a root whose refresh has ended for good. Then decide whether such a root counts as covered (served as unavailable) or keeps the whole query refused.

Deferred from #2693.

Vorherrschende Sprache
Rust
Sterne
2
Forks
0
Ø Merge
9 Std. 48 Min.
Gemergte PRs (30 T.)
151

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus registrystack/registry-stack

Alle Issues in registrystack/registry-stack

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.