4paradigm / 4paradigm/OpenMLDB

Support delete/gc the pre-aggregation tables when all related deployments are dropped

未关闭
#1,933 0 条评论 0 个 reaction 已指派 2 人 已被 @zhanghaohit 认领 在 GitHub 查看
storage-engine
主要语言
C++
星标
1.7k
派生
331
平均合并
12 天 12 小时
30 天内合并 PR
1

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
sql
领域
databases, devops, machine-learning
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。