Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Preserve SQLite aggregate counters when fingerprint series admission fails

Aperta
#5,698 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Utkarshpandey0001 ci sta già lavorando.

Dal 20/9/2026.

  • #5758 di @Utkarshpandey0001 — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
prometheus, rust, sqlite

Direzione di ricerca

Traccia prima l'ammissione dei fingerprint del profiling di SQLite, la prenotazione condivisa del budget di serie di Prometheus e il fallback other. Aggiungi la coverage per il fallimento di entrambe le prenotazioni, quindi verifica che i conteggi aggregati esatti delle operazioni/esiti rimangano disponibili, mentre fingerprint_overflow_total continui a segnalare la perdita di attribuzione.

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

Descrizione

Feifan Zhou found this while operating RivetKit 2.3.15 with native SQLite profiling enabled.

Problem

Fingerprint admission and the other fallback use the same shared Prometheus series budget. If the budget can reserve the base tuple but cannot reserve a statement or transaction tuple, RivetKit increments rivetkit_sqlite_fingerprint_overflow_total{reason="series_budget"}, retries with other, and then drops the full profile when that reservation also fails. The operation/outcome counters are part of the fingerprint tuple, so exact aggregate counts are unavailable precisely when fingerprint attribution is exhausted.

A minimal example is a process with a 1,000-series budget. One actor/transport base tuple reserves 891 series. A statement tuple requires 147 more series, so neither the selected fingerprint nor its other fallback can be admitted. Overflow reports the attribution loss, but aggregate operation/outcome counts are also lost.

Request

Please either:

  • pre-reserve other aggregation tuples for the expected operation type, fingerprint source, transaction mode, and storage transport combinations; or
  • provide fingerprint-free aggregate operation/outcome counters that do not depend on fingerprint tuple admission.

Acceptance criteria

  • Exact aggregate operation/outcome counts remain available when fingerprint admission fails.
  • fingerprint_overflow_total continues to report attribution loss.
  • Tests cover the case where the selected fingerprint reservation and the current fallback reservation both fail.
Lingua principale
Rust
Stelle
6.3k
Fork
271
Merge medio
2g 16h
PR unite (30g)
89

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 rivet-dev/rivet

Tutte le issue di rivet-dev/rivet

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.