4paradigm / 4paradigm/OpenMLDB

Aggregator recover fail when base_table is older than aggr_table

Ouverte
#1,657 0 commentaires 0 réactions 2 personnes assignées Réclamée par @nautaa Voir sur GitHub
enhancement storage-engine
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
1

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
databases, machine-learning
Domaine
databases, distributed-systems, machine-learning
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.