4paradigm / 4paradigm/OpenMLDB
Pre-aggr table still exists if deploy failed
- 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