4paradigm / 4paradigm/OpenMLDB

Aggregator recover fail when base_table is older than aggr_table

Offen
#1,657 0 Kommentare 0 Reaktionen 2 zugewiesene Personen Beansprucht von @nautaa Auf GitHub ansehen
enhancement storage-engine
Vorherrschende Sprache
C++
Sterne
1.7k
Forks
331
Ø Merge
12 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

**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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
databases, machine-learning
Bereich
databases, distributed-systems, machine-learning
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.