4paradigm / 4paradigm/OpenMLDB

Pre-aggr table still exists if deploy failed

Ouverte
#1,669 4 commentaires 0 réactions 1 personne assignée Réclamée par @zhanghaohit Voir sur GitHub
bug high-priority storage-engine
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
1

Description

**Bug Description**
Now we create the `pre-aggr` table before `CreateProcedure`. If `CreateProcedure` fails, we didn't delete the related pre-aggr tables.

**Expected Behavior**
We should delete the `pre-aggr` table if `CreateProcedure` fails.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Look for the code that creates the pre-aggr table and the CreateProcedure operation. The issue is about ensuring cleanup on failure. Search for error handling around table creation and procedure creation. Check if there are existing tests for deployment failures to understand the expected behavior. The fix involves adding rollback logic to delete the pre-aggr table if CreateProcedure fails.

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

Évaluation

Stack technique
sql
Domaine
databases
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

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