4paradigm / 4paradigm/OpenMLDB
Support delete/gc the pre-aggregation tables when all related deployments are dropped
Offen
#1,933
0 Kommentare
0 Reaktionen
2 zugewiesene Personen
Beansprucht von @zhanghaohit
Auf GitHub ansehen
storage-engine
- Vorherrschende Sprache
- C++
- Sterne
- 1.7k
- Forks
- 331
- Ø Merge
- 12 T. 12 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
**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.
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- sql
- Bereich
- databases, devops, machine-learning
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100