4paradigm / 4paradigm/OpenMLDB
Aggregator recover fail when base_table is older than aggr_table
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
**Describe the feature you'd like**
When the table has multiple replicas, when one fails, the leader may change. New leaders of the base_table and aggr_table may be different, causing the base_table may be older than the aggr_table.
We have to invalid the affected entries in the aggr_table, and re-compute to make it right.
**Additional context**
long-window support
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Look at the aggregator recovery logic in the codebase, focusing on how base_table and aggr_table replicas are managed during leader changes. Identify where invalidations and recomputations should happen, and examine any existing tests for long-window support or replica failure scenarios.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- databases, machine-learning
- Ambito
- databases, distributed-systems, machine-learning
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100