4paradigm / 4paradigm/OpenMLDB
Support refresh one table/deployment in sql_cluster_router
Abierto
enhancement
sdk
- Lenguaje dominante
- C++
- Estrellas
- 1.7k
- Forks
- 331
- Merge medio
- 12 d 12 h
- PR fusionados (30 d)
- 1
Descripción
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
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Área
- backend, databases
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100