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

Aperta
#2,695 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
postgresql, rust
Ambito
backend, databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
9h 48m
PR unite (30g)
151

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di registrystack/registry-stack

Tutte le issue di registrystack/registry-stack

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.