4paradigm / 4paradigm/OpenMLDB

Support refresh one table/deployment in sql_cluster_router

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

描述

if we create a new table or deploy a new deployment, we should call `RefreshCatalog` to add table/deployment to catalog. `RefreshCatalog` will request all node in zookeeper path currently. it is unnecessary

贡献指南

打开贡献指南

调研方向

Look for the RefreshCatalog function in the codebase, likely in sql_cluster_router or catalog-related modules. Understand how it currently queries all nodes via ZooKeeper. The goal is to modify it to refresh only a specific table or deployment. Check existing tests for catalog refresh to see how the new behavior should be validated.

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

评估

领域
backend, databases
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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