Retry or quarantine a failed release before freeing its slot

Aperta
#70 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
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, kubernetes, linux

Direzione di ricerca

Read docs/production-readiness.md and the owner document docs/design/core.md, then trace how yield, scope loss, and epoch bumps release fibers and how fiberd updates the ledger. Add a table test with a failing runtime to verify that the slot remains taken after a failed release; completion means fiberd retries release and frees the slot only after runtime confirmation.

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

Descrizione

bug

A yield, a scope loss and an epoch bump each release fibers through the runtime. When that release fails, fiberd logs it and still drops the fiber from the ledger. The sandbox can keep running while its slot under fibers.max is handed to a new clone, so a home can run more fibers than its grant allows.

Wanted.

  • A failed release keeps its slot. The fiber is marked quarantined in the ledger.
  • fiberd retries the release, and frees the slot only once the runtime confirms.
  • A table test with a failing runtime shows the slot stays taken.

Listed as a blocker in docs/production-readiness.md. Owner doc docs/design/core.md.

Lingua principale
Go
Stelle
5
Fork
5
Merge medio
15h 27m
PR unite (30g)
41

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 Azure/fiberd

Tutte le issue di Azure/fiberd

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.