4paradigm / 4paradigm/OpenMLDB

Pre-aggr table still exists if deploy failed

Abierto
#1,669 4 comentarios 0 reacciones 1 asignado Reclamado por @zhanghaohit Ver en GitHub
bug high-priority storage-engine
Lenguaje dominante
C++
Estrellas
1.7k
Forks
331
Merge medio
12 d 12 h
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
sql
Área
databases
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.