4paradigm / 4paradigm/OpenMLDB
Support delete/gc the pre-aggregation tables when all related deployments are dropped
Abierto
storage-engine
- Lenguaje dominante
- C++
- Estrellas
- 1.7k
- Forks
- 331
- Merge medio
- 12 d 12 h
- PR fusionados (30 d)
- 1
Descripción
**Describe the feature you'd like**
When deployments are dropped, there is no action for the associated pre-aggregation tables.
**Additional context**
We may maintain a counter for every pre-aggregation table. Decrease the counter when one deployment drops. When it reaches zero, users may issue a `gc` command to finally delete the tables.
Guía de contribución
Línea de trabajo
Look for pre-aggregation table management and deployment lifecycle code. Understand how tables are linked to deployments and where counters could be added. The 'gc' command would need to be implemented to check counters and delete tables when zero.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- sql
- Área
- databases, devops, machine-learning
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100