Mark the end of Watch's snapshot and report fibers that go away

Aperta
#72 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
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, kubernetes, linux

Direzione di ricerca

Read docs/design/core.md for the Watch design and docs/production-readiness.md for the blocker context. Find the Watch implementation and its watcher tests, then trace how the initial fiber state is emitted and how fibers leave the ledger. Done when a watcher receives a snapshot-end marker, receives a deletion event for a departing fiber, and a test verifies that a fiber appears and then disappears.

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

Descrizione

enhancement

Watch streams fiber status, but a watcher cannot build a correct inventory from it.

  • It has no batch boundary, so a watcher never knows when the initial snapshot ends.
  • It has no deletion tombstone, so a fiber that goes away is never reported gone.

Wanted.

  • A snapshot-end marker after the initial state.
  • A deletion event when a fiber leaves the ledger.
  • A watcher test that sees a fiber appear and then disappear.

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.